Update dependency html-entities to v2 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.3.1
->^2.0.0
Release Notes
mdevils/html-entities
v2.3.3
Compare Source
package.json
: specifysideEffects: false
v2.3.2
Compare Source
v2.3.1
Compare Source
encode()
,decode()
anddecodeEntity()
by using function inlining.v2.3.0
Compare Source
v2.2.0
Compare Source
decodeEntity()
method to decode a single HTML entity.v2.1.1
Compare Source
encode()
anddecode()
methods.v2.1.0
Compare Source
extensive
mode toencode()
method. This mode encodes all non-printable characters, non-ASCII characters and all characters with named references.v2.0.6
Compare Source
v2.0.5
Compare Source
v2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
null
andundefined
text values.v2.0.1
Compare Source
v2.0.0
Compare Source
Performance was greatly improved.
New API: simpler and more flexible.
htmlEntitiesInstance.encode(text)
->encode(text)
Before:
After:
instance.encodeNonASCII(text)
->encode(text, {mode: 'nonAscii'})
Before:
After:
instance.encodeNonASCII(text)
->encode(text, {mode: 'nonAsciiPrintable'})
Before:
After:
instance.decode(text)
->decode(text)
Before:
After:
Different XML/HTML versions are now implemented via options instead of different classes.
Before:
After:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.